import { createModule } from '@/router/type'
import LayoutView from '@/layout/LayoutView.vue'

export default createModule([
  {
    path: '/log',
    redirect: '/log/index',
    component: LayoutView,
    meta: {
      icon: import('~icons/menu/log'),
      title: '日志'
    },
    children: [
      {
        path: 'index',
        name: 'LogIndex',
        meta: { title: '日志' },
        component: () => import('@views/log/system-log.vue')
      }
      // {
      //   path: 'test',
      //   name: 'Test',
      //   meta: { title: '测试' },
      //   component: () => import('@views/test1.vue')
      // }
    ]
  }
], true)
